package com.foreveredu.propms.persist.hibernate;

import java.util.List;

import com.foreveredu.propms.domain.ChargeCriterion;
import com.foreveredu.propms.domain.ChargeItem;
import com.foreveredu.propms.domain.House;
import com.foreveredu.propms.domain.SinglePropertyChargeCriterion;
import com.foreveredu.propms.persist.ISinglePropertyChargeCriterionDao;



public class HibernateSinglePropertyChargeCriterionDao extends HibernateAbstractDao<SinglePropertyChargeCriterion, Integer>
		implements ISinglePropertyChargeCriterionDao {

	private static final long serialVersionUID = 1L;

	public HibernateSinglePropertyChargeCriterionDao() {
		super(SinglePropertyChargeCriterion.class);
	}

	//查找所有的单独收费
	@Override
	public List<SinglePropertyChargeCriterion> findAllSinglePropertyChargeCriterion() {
		String hql = "from SinglePropertyChargeCriterion";
		List<SinglePropertyChargeCriterion> list = this.getHibernateTemplate().find(hql);
		return list;
	}

}
